<%--
  Created by IntelliJ IDEA.
  User: tangyunyuan
  Date: 2021/3/23
  Time: 11:34
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
    body{
        background: url(idemge/14.jpg) no-repeat;
    }

    .button {
        color: orange;
        width: 80px;
        height: 40px;
        background-color: orangered;
        font-size: 20px;
        font-weight: 800;

    }

</style>

<html>
<head>
    <title>登入窗口</title>
</head>
<body>
<%
    if (session.getAttribute("msg") != null) {
        out.print("<script> alert('" + session.getAttribute("msg") + "'); </script>");
        session.removeAttribute("msg");
    }
%>
<form action="<%= request.getContextPath()%>/login" method="post">

    <div style=" width: 800px;height: 500px;margin: 100px auto 0 600px;position: absolute;">
        <img style="width: 100%;height: 100%;border-radius: 20px;box-shadow: 0px 0px 5px 0px gainsboro;" src="idemge/managerLand.jpg">
        <div style="text-align: center;position: relative;bottom: 90px">
            账号： <input type="text" name="account">
            密码： <input type="password" name="password">
            <button type="submit" class="button">登录</button>
        </div>
    </div>
</form>
<button style="position: relative;top: 510px;left: 1300px" class="button"
        onclick="location.href = '<%= request.getContextPath()%>/zhuce.jsp'">
    注册
</button>

</body>
<script type="text/javascript" src="jsgol/protect.js"></script>
</html>
